package com.cn.springcloudwechat.model;

import java.util.Date;

public class YmUserCollection {
    /**
     * 收藏流水id
     */
    private Long collectionId;
    /**
     *用户id
     */
    private Long userId;
    /**
     *收藏类型(1.文章2.交流圈贴子3.单独课程视频4.课程包视频)
     */
    private String collectionType;
    /**
     *收藏对应Id(比如:文章的id为article_id)
     */
    private Long collectionTypeId;
    /**
     *创建时间
     */
    private Date createTime;
    /**
     *更新时间
     */
    private Date updateTime;
    /**
     *状态（0无效1有效）
     */
    private String state;

    public Long getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(Long collectionId) {
        this.collectionId = collectionId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCollectionType() {
        return collectionType;
    }

    public void setCollectionType(String collectionType) {
        this.collectionType = collectionType == null ? null : collectionType.trim();
    }

    public Long getCollectionTypeId() {
        return collectionTypeId;
    }

    public void setCollectionTypeId(Long collectionTypeId) {
        this.collectionTypeId = collectionTypeId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }
}